package com.vc.aha_server_event.exception.apiException.daoException;

import com.vc.aha_server_event.constants.ApiExceptionCodes;
import com.vc.aha_server_event.exception.apiException.DaoException;

/**
 * 数据库修改失败的异常类
 *
 * @author STEA_YY
 **/
public class UpdateException extends DaoException {
    public UpdateException() {
        super(ApiExceptionCodes.UPDATE_ERROR.getDesc(), ApiExceptionCodes.UPDATE_ERROR.getValue());
    }

    public UpdateException(String message) {
        super(message, ApiExceptionCodes.UPDATE_ERROR.getValue());
    }
}
